package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页轮播对象 banner
 *
 * @author ruoyi
 * @date 2024-11-23
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 图片资源地址 */
    @Excel(name = "图片资源地址")
    private String imgUrl;

    /** 跳转地址 */
    @Excel(name = "跳转地址")
    private String url;

    /** 标题中文 */
    @Excel(name = "标题中文")
    private String titleCn;

    /** 标题俄文 */
    @Excel(name = "标题俄文")
    private String titleRa;

    /** 1首页  2公司简介  3公司业务  4新闻公共  5特色服务  6展会专线  7经典案例
     */
    @Excel(name = "1首页  2公司简介  3公司业务  4新闻公共  5特色服务  6展会专线  7经典案例 ")
    private Integer pageId;

            /** 是否展示 */
     @Excel(name = "是否展示")
    private Integer isShow;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setTitleCn(String titleCn)
    {
        this.titleCn = titleCn;
    }

    public String getTitleCn()
    {
        return titleCn;
    }
    public void setTitleRa(String titleRa)
    {
        this.titleRa = titleRa;
    }

    public String getTitleRa()
    {
        return titleRa;
    }
    public void setPageId(Integer pageId)
    {
        this.pageId = pageId;
    }

    public Integer getPageId()
    {
        return pageId;
    }
    public void setIsShow(Integer isShow)
    {
        this.isShow = isShow;
    }

    public Integer getIsShow()
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("imgUrl", getImgUrl())
                .append("url", getUrl())
                .append("titleCn", getTitleCn())
                .append("titleRa", getTitleRa())
                .append("pageId", getPageId())
                .append("isShow", getIsShow())
                .toString();
    }
}
